// ==UserScript==
// @name         🌸 樱花动漫 🌸
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        http://www.yhdm.so/v/*
// @match        http://www.yinghuacd.com/v/*
// @icon         https://www.google.com/s2/favicons?domain=netease.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    console.log('樱花动漫加载啦');
    // Your code here...
    var src = jQuery('#playbox').data('vid').slice(0, -4);
    console.log('src', src);
    jQuery('#playbox').append(`<video controls src=${src} />`);
    jQuery('iframe').remove();
    jQuery('head').append(`
    <style>
    video { width: 100%; }
    div#playbox {
      height: 100%;
    }
    div.area, div.bofang { width: 1280px; height: auto; }
    div.play {
      height: auto;
    }
    div#HMcoupletDivleft, div#HMcoupletDivright, div#HMRichBox { display: none!important; }
    </style>`);
})();